﻿using System.Runtime.Serialization;

namespace Silent.MDB.Common.Data
{
    [KnownType(typeof(Folder))]
    [KnownType(typeof(Person))]
    [KnownType(typeof(Department))]
    public class RootObject
    {
        public RootObject()
        {
            Name = "Empty";
        }

        public int ObjectId { get; set; }
        public int ParentObjectId { get; set; }
        public string Name { get; set; }
    }
}
